<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>


</head>

<body>
    <div id="box">
        <!-- 传入参数 -->
        <button @click="getfullName('asd',$event)">按钮</button>
    </div>
</body>

<script src="https://cdn.bootcss.com/vue/2.6.11/vue.js"></script>
<script>
    const app = new Vue({
        el: '#box',
        data: {
            firstName: '洪',
            lastName: '小横'
        },
        //方法执行5次
        methods: {
            getfullName: function(sum) {
                console.log(sum, event);
            }
        },

    })
</script>





</html>